export const tableOption = {
  border: true, //是否带有纵向边框
  selection: true, //行最前面的选择框
  menuAlign: "center",
  searchLabelWidth: 110, //搜索项标题宽度
  searchIndex: 4, //筛选收缩
  searchIcon: true,
  align: "center", //对齐方式
  emptyText: '自定义暂无数据提示语',
  column: [
    {
      label: "序号",
      prop: "id",
      hide: true,
      editDisabled: true,
      editDisplay: false,
      addDisplay: false,
    },
    {
      label: "积分商品code",
      prop: "code",
      type: "input",
      search: true,
      hide: true,
      span: 12
    },
    {
      label: "积分商品总库存",
      prop: "totalStock",
      type: "input",
      span: 12
    },
    {
      label: "积分商品现库存",
      prop: "currentStock",
      type: "input",
      span: 12
    },
    {
      label: "库存操作类型",
      prop: "operationType",
      type: 'select',
      dicData: [{
        label: '调整库存-增',
        value: 'I'
      }, {
        label: '调整库存-减',
        value: 'L'
      }, {
        label: '退货收入',
        value: 'S'
      }, {
        label: '销售支出）',
        value: 'Z'
      }],
      search: true,
      span: 12
    },
    {
      label: "库存变更数量",
      prop: "changeQuantity",
      type: "input",
      span: 12
    },
    {
      label: "库存变更日期",
      prop: "updateTime",
      type: "datetime",
      format: 'yyyy-MM-dd HH:mm:ss',
      valueFormat: 'yyyy-MM-dd HH:mm:ss',
      span: 12
    },
    {
      label: "库存操作人",
      prop: "operator",
      type: "input",
      span: 12
    },
    {
      label: "库存操作类型",
      prop: "OperationClassify",
      type: 'select',
      dicData: [{
        label: '调用户',
        value: '0'
      }, {
        label: '后台调整',
        value: '1'
      }],
      search: true,
      span: 12
    },
    {
      label: "对账状态",
      prop: "reconciliationStatus",
      type: 'switch',
      dicData: [{
        label: '已对账',
        value: 'Y'
      }, {
        label: '未对账',
        value: 'N'
      }],
      search: true,
      span: 12
    },
    {
      label: "积分兑换记录code",
      prop: "RedemptionRecordCode",
      type: "input",
      span: 12
    }
  ]
}
